package com.webbei.custom.service.impl;

import java.util.List;

import com.webbei.custom.dao.CustomDao;
import com.webbei.custom.service.CustomSer;
import com.webbei.pojo.PicInfor;

public class CustomSerImpl implements CustomSer {

	private CustomDao cd;
	
	public String drawWord(String word, int size, String color, String family) {

		return cd.drawWord(word, size, color, family);
	}

	public List getBgPic(int id) {
		return cd.getBgPic(id);
	}

	public void setCd(CustomDao cd) {
		this.cd = cd;
	}

	public String drawPic(String bgPic, List<PicInfor> pi) {
		return cd.drawPic(bgPic, pi);
	}

}
